package com.hunan.chinamobile.onenet;


import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;


@RestController
public class TestController {

    private static Logger logger = LoggerFactory.getLogger(TestController.class);

    @GetMapping("/test")
    public String index(String str){
        System.out.println("==>  Test Success !");
        logger.info("===> Test Success !");

        return str;
    }
}
